package com.sleepcamel.resteasyConfigurator.repository;

import java.util.ArrayList;
import java.util.List;

public class DefaultMimeTypeRepository extends BaseMimeTypeRepository {

	private static final String MIME_TYPES_RESOURCE = "mime.types";

	public DefaultMimeTypeRepository() {
		super(DefaultMimeTypeRepository.class.getClassLoader().getResourceAsStream(MIME_TYPES_RESOURCE));
	}

	@Override
	public List<String> getMimeTypes() {
		return new ArrayList<String>(types);
	}

	@Override
	public boolean addMimeType(String mime) {
		return false;
	}
}
